﻿using BDShop.Configuration;
using BDShop.Entities;
using BDShop.Framework;
using BDShop.Framework.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BDShop.Business.Cache
{
    public class ConstantCache : BaseCache<List<Constant>>
    {
        public ConstantCache()
            : base(BDShopConfiguration.Cache.CacheConstant, ConstantService.GetListConstantCacheModel, true, CacheManager.GetFilePathFO(CacheEnum.constant))
        {
            
        }

        public static ConstantCache Instance
        {
            get
            {
                return SingletonBase<ConstantCache>.Instance;
            }
        }
    }
}
